To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
Joel Robertson wrote:
"I haven't even gotten my feet wet with OpenDoc/ODF, so my (naive?) question
is, how then would a spelling checker (either an as-you-type or entire
document/selection kind) or grammar checker be implemented in OpenDoc/ODF? I
was under the impression that these utilities would still be considered parts.
Although they wouldn't have their own content (faceless?), they may have menu
items for setting document-level preferences and invoking the utility on the
parts which have content (textual content, in this case)."
A faceless part is one with no user interface. Thus, your spell checker example is not of this category given that it would have its own menus etc.
If the spell checker is to be provided to all documents, and thus all parts within the document, I'd suspect you'd implement it as a shell plug-in. The plug-in would most likely extend this standard set of menu items (this is intuitive guess work, so I stand to be corrected!).
If the service is to be provided on a per document basis, I'd expect that you'd implement it as a part embedded within the root part of the document (or at the embedded level where you want the service to be utilised). Thus, my activating the part, you'd expose its service menus etc.